<div class="page-title clearfix">
  <div class="title">平台日志管理</div>
</div>

<div class="panel">
  <nz-table #nzTable
            [nzData]="platformLogList.voList"
            [nzLoading]="_loading"
            [nzFrontPagination]="false"
            [nzShowTotal]="totalRow"
            [nzPageSize]="platformLogList.pageSize"
            [nzTotal]="platformLogList.totalRow"
            [nzPageIndex]="platformLogList.curPage"
            (nzPageIndexChange)="queryPlatformLogList($event)">
    <thead nz-thead>
    <ng-template #totalRow>共 {{platformLogList.totalRow}} 条数据</ng-template>
    <tr>
      <th nz-th class="text-center" nzWidth=""><span>序号</span></th><!--序号-->
      <th nz-th class="text-center" nzWidth=""><span> 账户</span></th><!--账户-->
      <th nz-th class="text-center" nzWidth=""><span> 日志</span></th><!--日志-->
      <th nz-th class="text-center" nzWidth=""><span> 创建时间</span></th><!--创建时间-->
      <th nz-th class="text-center" nzWidth=""><span>操作</span></th><!--操作-->
    </tr>
    </thead>
    <tbody nz-tbody>
    <ng-template ngFor let-data [ngForOf]="nzTable.data" let-i="index">
      <tr nz-tbody-tr>
        <td nz-td class="text-center">{{i+1}}</td>
        <td nz-td class="text-center">{{data.account}}</td>
        <td nz-td class="text-center">{{data.log}}</td>
        <td nz-td class="text-center">{{data.createTime}}</td>
        <td nz-td class="text-center">
          <button nz-button class="btn-success-o" [routerLink]="[routerLinks.platformLog.detail,data.id]"
                  title="详情">
            <i class="anticon anticon-eye-o"></i></button>
        </td>
      </tr>
    </ng-template>
    </tbody>
  </nz-table>
</div>
